<?php


namespace app\common\model;


class Article extends BaseModel
{

    public function articlecate(){
        return $this->belongsTo(Category::class, 'cid', 'id');
    }
}